package API.DAY2;

public class ObjectDemo {
    public static void main(String[] args) {
//        Point a = new Point(100, 100);
//        Point b = new Point(100,100);
//        System.out.println(a=b);

        String a = "hello";
        String b = "hello";

        System.out.println(a.equals(b));

        StringBuilder c = new StringBuilder("hello");
        StringBuilder d = new StringBuilder("hello");
        System.out.println(c.equals(d));

        System.out.println(a.equals(c));
    }
}
